Common Runtime Support for Assertions

نویسندگان

  • Nam Tran
  • Christine Mingins
  • David Abramson
چکیده

Behavioural specifications in interface contracts are important measures for improving quality of software components. Common support for assertions as first class constructs in binary components and at runtime provides many benefits for better contracts specification and monitoring. Behavioural specifications in the spirit of Design by Contract can accompany binary components and be available at runtime to enable flexible and correct treatment, in a source language neutral manner. Load time verification and runtime monitoring would both be possible. Runtime monitoring is correct with regards to sub-typing and dynamic binding, and with sensible exception handling. Such a common support mechanism would also provide opportunities for richer specification techniques to help deal with difficult issues such as object re-entrance.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Model-based Generation of a Requirements Monitor

Runtime representations of requirements have recently gained interested to deal with uncertainty in the environment and the term requirements at runtime has been established. Runtime representations of requirements support reasoning about the requirements at runtime and adapting the configuration of a system according to changes in the environment. Such systems often called self-adaptive system...

متن کامل

Extending Design by Contract for Aspect-Oriented Programming

Design by Contract (DbC) and runtime enforcement of program assertions enables the construction of more robust software. It also enables the assignment of blame in error reporting. Unfortunately, there is no support for runtime contract enforcement and blame assignment for Aspect-Oriented Programming (AOP). Extending DbC to also cover aspects brings forward a plethora of issues related to the c...

متن کامل

LuMiNous - model-driven assertion generation for runtime failure detection

Well designed assertions improve overall software quality, ease debugging and maintenance, and support the construction of autonomic software systems. Although widely used both in academia and industry, manually defining code assertions is hard and error-prone. In this summary we present LuMiNous, a prototype that implements a technique to automatically generate code assertions from model annot...

متن کامل

Abstraction-guided Runtime Checking of Assertions on Lists

ion-guided Runtime Checking of Assertions on Lists Alex Gyori, Pranav Garg, Edgar Pek, P. Madhusudan University of Illinois at Urbana-Champaign, Urbana, IL, USA {gyori, garg11, pek1, madhu}@illinois.edu Abstract. We investigate ways to specify and check, at runtime, assertions that express properties of dynamically manipulated linked-list data structures. Checking an assertion involving whether...

متن کامل

A Study of the Effectiveness of Using Formal Specifications to Create Assertions

Though the software engineering industry is relatively new, software has become pervasive in modern society. Despite the fact that software is commonplace today, it often proves to be prone to error and generally undependable. When software does fail, the consequences can be as bad as from loss of revenue to loss of life. Software testing is a common defense against such failures. The key goal ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002